#include "MainForm.h"
#include "ViewerWidget.h"

MainForm::MainForm(QWidget *parent)
	: QMainWindow(parent)
{
	ui.setupUi(this);


	ViewerWidget* viewWidget = new ViewerWidget(this,Qt::Widget,osgViewer::ViewerBase::SingleThreaded);
	QWidget* wid = viewWidget->GetWidget();
	ui.verticalLayout->addWidget(wid);
	viewWidget->addModel("cow.osgt");
	
}

